projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
138986f
)
demos/constraint-editor: Fix linking on MSVC builds
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Mon, 8 Jul 2019 10:37:27 +0000
(18:37 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Mon, 8 Jul 2019 10:37:27 +0000
(18:37 +0800)
We must apply the /entry:mainCRTStartup linker flag in order to link GTK
apps in pure GUI form. This follows what is done in demos/gtk-demo,
etc.
demos/constraint-editor/meson.build
patch
|
blob
|
history
diff --git
a/demos/constraint-editor/meson.build
b/demos/constraint-editor/meson.build
index af66846437a9cf7be5d93bbf0500b5079481865b..ce51325b37b55f429572373388eb541ed88ba8b7 100644
(file)
--- a/
demos/constraint-editor/meson.build
+++ b/
demos/constraint-editor/meson.build
@@
-16,4
+16,5
@@
executable('gtk4-constraint-editor',
dependencies: libgtk_dep,
include_directories: confinc,
gui_app: true,
+ link_args: extra_demo_ldflags,
install: false)